package org.demo.patten.interpreter;

/**
 * @author zhuj
 * @date 2025/3/29
 * @apiNote
 */
public class NumberExpression implements Expression {
    private final int number;
    public NumberExpression(int number) {
        this.number = number;
    }
    @Override
    public int interpret() {
        return number;
    }
}
